package com.testdemo.web.service;

import java.util.List;

import com.testdemo.web.vo.QuestionTypeCount;
import com.testdemo.web.vo.Question; 

public interface QuestionService { 
	  int deleteQuestion(int id);
	  int insertQuestion(Question question);
	  public List<Question> listQuestion(int userid, int typeid);
	  public List<Question> listQuestion(int userid );
	  public List<QuestionTypeCount> countQuestion(int userid, int typeid); 
	  public List<QuestionTypeCount> countQuestion(int userid); 
}
